<template>
    <div class="content-wrapp">
        <v-form v-on:submitForm="submitForm"></v-form>
        <v-table v-bind:formData="formData" ref="Table"></v-table>
    </div>
</template>
<script>
import vTable from "./table.vue";
import vForm from "./form.vue";
export default {
    data() {
        return { 
            formData: {
                asinId: [],
                businessUnitId: [],
                productCategoryId: [],
                productModelNumber: [],
                userId: this.$store.getters.userId
            }
        };
    },
    methods: {
        submitForm(val) {
            this.formData = JSON.parse(JSON.stringify(val));
        }
    },
    components: {
        vForm,
        vTable
    }
};
</script>
